package com.wzh.mall.product.feign;

import com.wzh.common.to.es.SkuEsModel;
import com.wzh.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @program: mall
 * @description:
 * @author: Mr.Wang
 * @create: 2021-09-08 12:47
 **/
@FeignClient("mall-search")
public interface SearchFeginService {

    // 上架商品
    @PostMapping("/search/save/product")
     R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
